package index

import (
	"github.com/astaxie/beego"
)

type IndexController struct {
	beego.Controller
}

func (i *IndexController) Index() {

	_urlname := i.Ctx.Input.Param(":urlname")

	beego.TemplateLeft = "<<<"
	beego.TemplateRight = ">>>"

	i.Data["title"] = "GrimRock Team"
	i.Data["author"] = "Thonatos.Yang"
	i.Data["Urlname"] = _urlname
	i.TplNames = "index/index.html"
}
